﻿Imports System.Xml.Serialization

Public Class clsProduct
    Private mstrName As String
    Private mstrDescription As String
    Private mintQty As Integer

    Public Property Name() As String
        Get
            Name = mstrName
        End Get
        Set(ByVal Value As String)
            mstrName = Value
        End Set
    End Property

    Public Property Description() As String
        Get
            Description = mstrDescription
        End Get
        Set(ByVal Value As String)
            mstrDescription = Value
        End Set
    End Property

    <XmlElementAttribute(ElementName:="Quantity")> _
    Public Property Qty() As Integer
        Get
            Qty = mintQty
        End Get
        Set(ByVal Value As Integer)
            mintQty = Value
        End Set
    End Property

End Class
